// 初始化路由
var route = require('./route');
route.init();

// 初始化菜单
var menu = require('./menu/menu.js');
var menuObj = {
	datas : [
		{
			title: '升级中心',
			className: 'fa-home',
			children: [
				{ ctitle: "升级项目管理", url: "/upgradeProject" },
				{ ctitle: "升级包管理", url: "/upgradePackage" }
			]
		}
	]
};
var _menu = new menu({
	menuObj: menuObj,
	containerId: 'menuUl',
	selectedFn: function(url) {
		route.go(url);
	}
});
_menu.render();